package com.ee.chat.admin.service;

import com.ee.chat.common.bean.Result;
import com.ee.chat.common.vo.ChannelVO;

import javax.servlet.http.HttpServletRequest;

public interface IChannelService {
    Result list(HttpServletRequest request, Integer page, Integer limit, String keyword, Integer type) throws Exception;

    Result toEdit(HttpServletRequest request, Integer id) throws Exception;

    Result add(HttpServletRequest request, ChannelVO channel) throws Exception;

    Result edit(HttpServletRequest request, ChannelVO channel) throws Exception;

    Result updateStatus(HttpServletRequest request, Integer id) throws Exception;

    Result statis(HttpServletRequest request, Integer page, Integer limit, Integer userId, String code, String time) throws Exception;

    Result restPwd(HttpServletRequest request, Integer id) throws Exception;
}
